package cn.gcyl.module.biz.controller.admin.columntype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 栏目类型新增/修改 Request VO")
@Data
public class ColumnTypeSaveReqVO {

    @Schema(description = "栏目类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1125")
    private Integer id;

    @Schema(description = "栏目", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "栏目不能为空")
    private String columns;

    @Schema(description = "栏目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "栏目名称不能为空")
    private String columnName;

    @Schema(description = "非会员是都查看（0可查看 1不可查看）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "非会员是都查看（0可查看 1不可查看）不能为空")
    private Integer status;

    @Schema(description = "所属分类")
    private String category;

    @Schema(description = "报名字段")
    private String registrationFields;

}